<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Area extends Model
{
    public function area()
    {
        $this->belongsTo('App\Models\Area','parent_id','id');
    }

    public function parentCity()
    {
        return $this->belongsTo('App\Models\Area', 'parent_id', 'id');
    }

}
